package com.tandashi.springbootstudy01.service.impl;

import com.tandashi.springbootstudy01.service.StrategyFactory;
import org.springframework.stereotype.Service;

@Service
public class StrategyFactoryImpl implements StrategyFactory {
    @Override
    public String type1() {
        return "act-01";
    }

    @Override
    public void doAction(String message) {
        System.out.println("策略子类实现内容:"+message);
    }
}
